<?php 
/* P3(c)

******************************************************************************
                                                                                      
                         __                                                        
                        /__)                                                       
                       /__        P3 - moving Technologie            
                        __)                                                          
                        __)                                                          
                                                                                        
                                                                                        
       Copyright 2009 by p3.co.at                                                                                 
                                                                                        
       visit www.p3.co.at to get more Informations 
       about Teriko - Betriebsdatenerfassung                                                                                 
       - it's not allowed to change this scripts
       - it's not allowed to remove this copyright-tag

       -- you can download the complete license   
          under http://www.teriko.org

 (c) by Patrik Pfaffenbauer and P3 (http://www.p3.co.at)

 | Programname: P3.Teriko
 | Authtor: P3.Verein
 | Coder: Patrik Pfaffenbauer
 | Version: 0.1

 | Change Index
 |_____________________________________________
 |                                             |
 |4.3.2010 Erstellung | Patrik Pfaffenbauer    |
 |_____________________________________________|

******************************************************************************

P3(c) */
session_start();
include("_config.php");

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-de" lang="de-de" dir="ltr">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="index, follow" />
	<title><?php echo GetTitle();?></title>
	<link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />

	<?php 
		AddCSS();
		AddJS();
	?>
</head>
<body id="minwidth-body">
<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
	<div id="border-top" class="h_green">
		<div>
			<div>
				<span class="version"><?php echo "Version ".$GLOBALS['db']->GetValue("version");?></span>
				<span class="title"><?php echo $GLOBALS['db']->GetValue("company_title");?></span>
			</div>
		</div>
	</div>
	<?php new HeaderBar();?>
<?php include("content.php");?>
	<div id="border-bottom"><div><div></div></div></div>
	<div id="footer">
		<p class="copyright">
             Copyright &copy; 2009 Patrik Pfaffenbauer and <a href="http://www.p3.co.at" target="_blank">P3</a>. All Rights Reserved.
       </p>
       <p class="copyright">
       		MySQL Query Count: <?php echo $GLOBALS['db']->queryCount;?><br/>
       		Language Query Count: <?php echo $GLOBALS['lang']->langCount; ?>
       </p>
	</div>
</body>
</html>